package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 大纲对象 rt_knowledge_info
 * 
 * @author Yg
 * @date 2022-04-13
 */
public class RtKnowledgeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 科目id，关联到kk_subject表主键 */
    @Excel(name = "科目id，关联到rt_subject表主键")
    private Long subjectId;

    /** 科目id，关联到kk_subject表主键 */
    @Excel(name = "科目id")
    private String subject;

    /** 重要度id，关联到kk_importance_info表主键 */
    @Excel(name = "重要度id，rt_importance_info表主键")
    private Long importanceId;

    /** 重要度id，关联到kk_importance_info表主键 */
    @Excel(name = "重要度")
    private String importance;

    /** 知识点编码 */
    @Excel(name = "知识点编码")
    private String knowledgeCode;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 类型，1:章(大纲); 2:节; 3:知识点 */
    @Excel(name = "类型，1:章(大纲); 2:节; 3:知识点")
    private Integer type;

    /** 父节点，即上级ID，顶级时ID为0 */
    @Excel(name = "父节点，即上级ID，顶级时ID为0")
    private String parentId;

    /** 状态，0：禁用，1：启用（默认） */
    @Excel(name = "状态，0：禁用，1：启用", readConverterExp = "默=认")
    private Integer status;

    /** 创建人 */
    private String createOperator;

    /** 修改人 */
    private String updateOperator;

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getImportance() {
        return importance;
    }

    public void setImportance(String importance) {
        this.importance = importance;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setImportanceId(Long importanceId) 
    {
        this.importanceId = importanceId;
    }

    public Long getImportanceId() 
    {
        return importanceId;
    }
    public void setKnowledgeCode(String knowledgeCode) 
    {
        this.knowledgeCode = knowledgeCode;
    }

    public String getKnowledgeCode() 
    {
        return knowledgeCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateOperator(String createOperator) 
    {
        this.createOperator = createOperator;
    }

    public String getCreateOperator() 
    {
        return createOperator;
    }
    public void setUpdateOperator(String updateOperator) 
    {
        this.updateOperator = updateOperator;
    }

    public String getUpdateOperator() 
    {
        return updateOperator;
    }

    @Override
    public String toString() {
        return "RtKnowledgeInfo{" +
                "id=" + id +
                ", subjectId=" + subjectId +
                ", importanceId=" + importanceId +
                ", knowledgeCode='" + knowledgeCode + '\'' +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", parentId='" + parentId + '\'' +
                ", status=" + status +
                ", createOperator='" + createOperator + '\'' +
                ", updateOperator='" + updateOperator + '\'' +
                '}';
    }
}
